<template>
<base-panel>
    <top-simple-search @searchFun="getList" @addFun="toAdd"></top-simple-search>
    <simple-table ref="myTable">
        <el-table-column prop="suggestion" label="意见"/>
        <el-table-column prop="no_order" label="排序"/>
        <el-table-column align="left" label="操作" width="150px">
            <template slot-scope="{row}">
                <edit-button  @click="toEdit(row)"></edit-button>
                <delete-button  @click="toDelete(row.id)"></delete-button>
            </template>
        </el-table-column>
    </simple-table>
    <detail-dialog  v-if="visible" :visible.sync="visible" :row="currRow" @reloadList="getList"></detail-dialog>
</base-panel>
</template>
<script>
    import simpleTable from "@/mixins/SimpleTable";
    import DetailDialog from "./DetailDialog";
    export default {
        name:"ProjectPay",
        components: {DetailDialog},
        mixins: [simpleTable],
        data(){
            return {
            }
        }
    }
</script>
